package unit4_1015.test3;

public class Cat extends Pet{
	
	private int lazy;

	
	
	

	public int getLazy() {
		return lazy;
	}

	public Cat(String name, int health, String sex, int lazy) {
		super(name, health, sex);
		this.lazy = lazy;
	}
	
	public Cat() {
		
	}

	public void setLazy(int lazy) {
		this.lazy = lazy;
	}

	@Override
	public void toHospital() {
		System.out.println("宠物猫去医院看病");
	}

	@Override
	public void eat() {
		System.out.println("宠物猫吃猫粮");
	}
	
	
	
	
}
